import request from "@/axios/request";
import url from "@/axios/url";
const { mesUrl, adminUrl } = url();
// 获取详情
export function getInfo(id = "") {
  return request({
    url: `${mesUrl}mesMaterialRequisition/info/${id}`,
    method: "get",
  });
}
//分页查询
export function getList(params = {}) {
  return request({
    url: `${mesUrl}mesProdOrder/getMaterialNeed`,
    method: "get",
    params,
  });
}
//分页日期列
export function getDateList(params = {}) {
  return request({
    url: `${mesUrl}mesProdOrder/getDateList`,
    method: "get",
    params,
  });
}
